package com.gitee.zzh.common;

public class QrCodeInfo {
    private String qrCodeContent;
    private String qrCodePath;
    private int qrCodeMargin;
    private int qrCodeVersion;
    private int multi;

    public int getMulti() {
        return multi;
    }

    public void setMulti(int multi) {
        this.multi = multi;
    }

    public String getQrCodeContent() {
        return qrCodeContent;
    }

    public void setQrCodeContent(String qrCodeContent) {
        this.qrCodeContent = qrCodeContent;
    }

    public String getQrCodePath() {
        return qrCodePath;
    }

    public void setQrCodePath(String qrCodePath) {
        this.qrCodePath = qrCodePath;
    }

    public int getQrCodeMargin() {
        return qrCodeMargin;
    }

    public void setQrCodeMargin(int qrCodeMargin) {
        this.qrCodeMargin = qrCodeMargin;
    }

    public int getQrCodeVersion() {
        return qrCodeVersion;
    }

    public void setQrCodeVersion(int qrCodeVersion) {
        this.qrCodeVersion = qrCodeVersion;
    }

    public int getTransformQrCodePix() {
        return multi * ConstUtils.getQrCodeVersionBlockMap().get(qrCodeVersion) + qrCodeMargin * 2;
    }

}
